
import Vue from 'vue'
import App from './App'
import router from './router'
import fastClick from 'fastclick'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'styles/reset.css'
import 'styles/border.css'
import 'styles/iconfont.css'
import 'swiper/dist/css/swiper.css'
Vue.config.productionTip = false

fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new */
// es6写法，实际上是router：router
// es6写法，实际上是components: { App:APP } 如果键值是一样的就只用写一个
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
